# Michael Depuy
# depuym@onid.orst.edu
# CS344-400
# Homework 5


CFLAGS = -Wall -Wshadow -Wunreachable-code -Wredundant-decls -Wmissing-declarations -Wold-style-definition -Wmissing-prototypes -Wdeclaration-after-statement -std=c99

all: prime_pthread prime_mproc

prime_pthread: prime_pthread.c
	gcc $(CFLAGS) -pthread -o prime_pthread prime_pthread.c

prime_mproc: prime_mproc.c
	gcc $(CFLAGS) -o prime_mproc prime_mproc.c

clean:
	rm -f Makefile~ *.exe *.out *.c~ *.o *.txt~ prime_pthread prime_mproc